﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;


namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_CostCenter : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_CostCenter", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_CostCenter", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_CostCenter", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_CostCenter", "UserName");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("TW_CostCenter", "Department");
        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("TW_CostCenter", "UserFullName");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("TW_CostCenter", "ApplicationNo");
        [Column]
        public string Actions { get { return _Actions; } set { _Actions = value; EntityState.FieldChange("Actions"); } } private string _Actions; public static FieldInfo actions = new FieldInfo("TW_CostCenter", "Actions");
        [Column]
        public string VD_Checked { get { return _VD_Checked; } set { _VD_Checked = value; EntityState.FieldChange("VD_Checked"); } } private string _VD_Checked; public static FieldInfo vD_Checked = new FieldInfo("TW_CostCenter", "VD_Checked");
        [Column]
        public string SA_Checked { get { return _SA_Checked; } set { _SA_Checked = value; EntityState.FieldChange("SA_Checked"); } } private string _SA_Checked; public static FieldInfo sA_Checked = new FieldInfo("TW_CostCenter", "SA_Checked");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("TW_CostCenter", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("TW_CostCenter", "DMO_DrpPriority");

        [Column]
        public string IS_CO_Area { get { return _IS_CO_Area; } set { _IS_CO_Area = value; EntityState.FieldChange("IS_CO_Area"); } } private string _IS_CO_Area; public static FieldInfo iS_CO_Area = new FieldInfo("TW_CostCenter", "IS_CO_Area");
        [Column]
        public string IS_Cost_Center { get { return _IS_Cost_Center; } set { _IS_Cost_Center = value; EntityState.FieldChange("IS_Cost_Center"); } } private string _IS_Cost_Center; public static FieldInfo iS_Cost_Center = new FieldInfo("TW_CostCenter", "IS_Cost_Center");
        [Column]
        public string Vaild_From { get { return _Vaild_From; } set { _Vaild_From = value; EntityState.FieldChange("Vaild_From"); } } private string _Vaild_From; public static FieldInfo vaild_From = new FieldInfo("TW_CostCenter", "Vaild_From");
        [Column]
        public string Vaild_To { get { return _Vaild_To; } set { _Vaild_To = value; EntityState.FieldChange("Vaild_To"); } } private string _Vaild_To; public static FieldInfo vaild_To = new FieldInfo("TW_CostCenter", "Vaild_To");
        [Column]
        public string RE_Cost_Center { get { return _RE_Cost_Center; } set { _RE_Cost_Center = value; EntityState.FieldChange("RE_Cost_Center"); } } private string _RE_Cost_Center; public static FieldInfo rE_Cost_Center = new FieldInfo("TW_CostCenter", "RE_Cost_Center");
        [Column]
        public string RE_CO_Area { get { return _RE_CO_Area; } set { _RE_CO_Area = value; EntityState.FieldChange("RE_CO_Area"); } } private string _RE_CO_Area; public static FieldInfo rE_CO_Area = new FieldInfo("TW_CostCenter", "RE_CO_Area");
        [Column]
        public string Name { get { return _Name; } set { _Name = value; EntityState.FieldChange("Name"); } } private string _Name; public static FieldInfo name = new FieldInfo("TW_CostCenter", "Name");
        [Column]
        public string Description { get { return _Description; } set { _Description = value; EntityState.FieldChange("Description"); } } private string _Description; public static FieldInfo description = new FieldInfo("TW_CostCenter", "Description");
        [Column]
        public string User_Responsible { get { return _User_Responsible; } set { _User_Responsible = value; EntityState.FieldChange("User_Responsible"); } } private string _User_Responsible; public static FieldInfo user_Responsible = new FieldInfo("TW_CostCenter", "User_Responsible");
        [Column]
        public string Person_Responsible { get { return _Person_Responsible; } set { _Person_Responsible = value; EntityState.FieldChange("Person_Responsible"); } } private string _Person_Responsible; public static FieldInfo person_Responsible = new FieldInfo("TW_CostCenter", "Person_Responsible");
        [Column]
        public string Center_Department { get { return _Center_Department; } set { _Center_Department = value; EntityState.FieldChange("Center_Department"); } } private string _Center_Department; public static FieldInfo center_Department = new FieldInfo("TW_CostCenter", "Center_Department");
        [Column]
        public string Cost_Center_Category { get { return _Cost_Center_Category; } set { _Cost_Center_Category = value; EntityState.FieldChange("Cost_Center_Category"); } } private string _Cost_Center_Category; public static FieldInfo cost_Center_Category = new FieldInfo("TW_CostCenter", "Cost_Center_Category");
        [Column]
        public string Hierarchy_Area { get { return _Hierarchy_Area; } set { _Hierarchy_Area = value; EntityState.FieldChange("Hierarchy_Area"); } } private string _Hierarchy_Area; public static FieldInfo hierarchy_Area = new FieldInfo("TW_CostCenter", "Hierarchy_Area");
        [Column]
        public string Business_Area { get { return _Business_Area; } set { _Business_Area = value; EntityState.FieldChange("Business_Area"); } } private string _Business_Area; public static FieldInfo business_Area = new FieldInfo("TW_CostCenter", "Business_Area");
        [Column]
        public string Functional_Area { get { return _Functional_Area; } set { _Functional_Area = value; EntityState.FieldChange("Functional_Area"); } } private string _Functional_Area; public static FieldInfo functional_Area = new FieldInfo("TW_CostCenter", "Functional_Area");
        [Column]
        public string Currency { get { return _Currency; } set { _Currency = value; EntityState.FieldChange("Currency"); } } private string _Currency; public static FieldInfo currency = new FieldInfo("TW_CostCenter", "Currency");
        [Column]
        public string Profit_Center { get { return _Profit_Center; } set { _Profit_Center = value; EntityState.FieldChange("Profit_Center"); } } private string _Profit_Center; public static FieldInfo profit_Center = new FieldInfo("TW_CostCenter", "Profit_Center");
        [Column]
        public string Record_Quantity { get { return _Record_Quantity; } set { _Record_Quantity = value; EntityState.FieldChange("Record_Quantity"); } } private string _Record_Quantity; public static FieldInfo record_Quantity = new FieldInfo("TW_CostCenter", "Record_Quantity");
        [Column]
        public string Actual_Revenues { get { return _Actual_Revenues; } set { _Actual_Revenues = value; EntityState.FieldChange("Actual_Revenues"); } } private string _Actual_Revenues; public static FieldInfo actual_Revenues = new FieldInfo("TW_CostCenter", "Actual_Revenues");
        [Column]
        public string Plan_Revenues { get { return _Plan_Revenues; } set { _Plan_Revenues = value; EntityState.FieldChange("Plan_Revenues"); } } private string _Plan_Revenues; public static FieldInfo plan_Revenues = new FieldInfo("TW_CostCenter", "Plan_Revenues");
        [Column]
        public string Center_Group_CO_Area { get { return _Center_Group_CO_Area; } set { _Center_Group_CO_Area = value; EntityState.FieldChange("Center_Group_CO_Area"); } } private string _Center_Group_CO_Area; public static FieldInfo center_Group_CO_Area = new FieldInfo("TW_CostCenter", "Center_Group_CO_Area");
        [Column]
        public string Cost_Center_Group { get { return _Cost_Center_Group; } set { _Cost_Center_Group = value; EntityState.FieldChange("Cost_Center_Group"); } } private string _Cost_Center_Group; public static FieldInfo cost_Center_Group = new FieldInfo("TW_CostCenter", "Cost_Center_Group");
        [Column]
        public string Copy_Cost_Center_Group { get { return _Copy_Cost_Center_Group; } set { _Copy_Cost_Center_Group = value; EntityState.FieldChange("Copy_Cost_Center_Group"); } } private string _Copy_Cost_Center_Group; public static FieldInfo copy_Cost_Center_Group = new FieldInfo("TW_CostCenter", "Copy_Cost_Center_Group");
        [Column]
        public string Copy_CO_Area { get { return _Copy_CO_Area; } set { _Copy_CO_Area = value; EntityState.FieldChange("Copy_CO_Area"); } } private string _Copy_CO_Area; public static FieldInfo copy_CO_Area = new FieldInfo("TW_CostCenter", "Copy_CO_Area");
        [Column]
        public string Center_Group_Name { get { return _Center_Group_Name; } set { _Center_Group_Name = value; EntityState.FieldChange("Center_Group_Name"); } } private string _Center_Group_Name; public static FieldInfo center_Group_Name = new FieldInfo("TW_CostCenter", "Center_Group_Name");
        [Column]
        public string Center_Group_Name_1 { get { return _Center_Group_Name_1; } set { _Center_Group_Name_1 = value; EntityState.FieldChange("Center_Group_Name_1"); } } private string _Center_Group_Name_1; public static FieldInfo center_Group_Name_1 = new FieldInfo("TW_CostCenter", "Center_Group_Name_1");
        [Column]
        public string Center_Group_Name_2 { get { return _Center_Group_Name_2; } set { _Center_Group_Name_2 = value; EntityState.FieldChange("Center_Group_Name_2"); } } private string _Center_Group_Name_2; public static FieldInfo center_Group_Name_2 = new FieldInfo("TW_CostCenter", "Center_Group_Name_2");
        [Column]
        public string Center_Group_Name_3 { get { return _Center_Group_Name_3; } set { _Center_Group_Name_3 = value; EntityState.FieldChange("Center_Group_Name_3"); } } private string _Center_Group_Name_3; public static FieldInfo center_Group_Name_3 = new FieldInfo("TW_CostCenter", "Center_Group_Name_3");
        [Column]
        public string Center_Group_Name_4 { get { return _Center_Group_Name_4; } set { _Center_Group_Name_4 = value; EntityState.FieldChange("Center_Group_Name_4"); } } private string _Center_Group_Name_4; public static FieldInfo center_Group_Name_4 = new FieldInfo("TW_CostCenter", "Center_Group_Name_4");
        [Column]
        public string Center_Group_Name_5 { get { return _Center_Group_Name_5; } set { _Center_Group_Name_5 = value; EntityState.FieldChange("Center_Group_Name_5"); } } private string _Center_Group_Name_5; public static FieldInfo center_Group_Name_5 = new FieldInfo("TW_CostCenter", "Center_Group_Name_5");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_CostCenter", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_CostCenter", "Status");

    }
}
